package adapter.objectAdapter;

import adapter.objectAdapter.voltageTransform.adapter.VoltageAdapter;
import adapter.objectAdapter.voltageTransform.dst.Power5V;
import adapter.objectAdapter.voltageTransform.src.Power220V;

public class Client {
    public static void main(String[] args) {

        Power5V adapter = new VoltageAdapter(new Power220V());
        System.out.println("输出电压 = " + adapter.output5V() + "V");

    }
}
